package com.geekaca.oopd3.api;

import java.util.Objects;

public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat();
        Cat cat2 = cat;
        System.out.println(cat);
        System.out.println(cat2);

        Cat cat3 = new Cat();
        System.out.println(cat3);

        boolean isCatEq = Objects.equals(cat, cat3);
        System.out.println(isCatEq);

    }
}
